package com.chenwang.measure.ui.dialog;

import android.view.Gravity;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.ProgressBar;

import com.chenwang.measure.R;
import com.chenwang.measure.base.BaseDialogFragment;
import com.github.ybq.android.spinkit.sprite.Sprite;
import com.github.ybq.android.spinkit.style.DoubleBounce;


/**
 * @松 on 2019/7/15 13:37
 */
public class DeviceMoadeLoadingDialog extends BaseDialogFragment {

    //private ProgressBar mProgressBar;

    @Override
    public int setLayoutId() {
        return R.layout.dialog_device_mode_loading;
    }

    @Override
    protected void initWindow(Window window) {
            setLayoutParams(window,Gravity.CENTER, WindowManager.LayoutParams.MATCH_PARENT, WindowManager.LayoutParams.MATCH_PARENT,0 ,0 );
    }

    @Override
    protected void initData(View view) {
        super.initData(view);

    /*    mProgressBar = (ProgressBar)view.findViewById(R.id.spin_kit);
      //  Sprite doubleBounce = new Circle();
        Sprite doubleBounce  =  new DoubleBounce();
       // Sprite doubleBounce = new FadingCircle();
        mProgressBar.setIndeterminateDrawable(doubleBounce);
*/
    }




}
